﻿@{
	ViewData["title"] = "创达加工管理平台";
}
@section header {
	<style type="text/css">
		.dashedtable td {
			border-bottom: dashed 1px #c0c0c0;
		}

		.tdicon {
			background: url('@(Url.Content("~/img/point_right_up.gif"))') no-repeat left center;
			padding-left: 30px;
		}

		.portlet {
			border: none;
			border-radius: 0;
			box-shadow: none;
		}

		.more {
			font-size: 14px;
			text-decoration: none !important;
		}

			.more span {
				font-family: fangsong;
				margin-left: 2px;
			}

		.col12 {
			width: 46%;
			height: auto;
			background-color: #fff;
			padding: 1%;
			margin: 1%;
			min-height: 200px;
		}

		.col24 {
			width: 96%;
			height: auto;
			background-color: #fff;
			padding: 1%;
			margin: 1% 1% 50px 1%;
			min-height: 200px;
		}

			.col12:hover, .col24:hover {
				box-shadow: 0 2px 12px#0000001a;
				transition: all ease .3s;
			}
		/* 当屏幕宽度小于或等于768像素时 */
		@@media (max-width: 1080px) {
			.col12 {
				width: 96%;
				height: auto;
				background-color: #fff;
				padding: 1%;
				margin: 1%;
				min-height: 200px;
			}
		}
	</style>
}
<table class="small detail-panel-div" align="center" valign="top" style="border: none; padding: 0; margin: 0;">
	<tr>
		<td width="100%" align="center" valign="top" height="100">
			<div id="MainMatrix" style="padding: 5px;">
				@*公告信息开始*@
				<div id="stuff_cangkuassets1" class="portlet stuffsortab-div col12">
					<table class="small" style="padding-right: 0px; padding-left: 0px; padding-top: 0px;">
						<tr id="headerrow_cangkuassets1" class="home-stuff-heading">
							<td align="right" style="height: 57px; background: #fff url('@(Url.Content("~/img/icon_news.jpg"))') no-repeat left center;" nowrap>
								<a href='' class="more">更多<span>></span></a>
							</td>
						</tr>
					</table>
					<table cellpadding="0" cellspacing="0" class="small portlet_content" style="width: 100%;">
						<tr>
							<td>
								<div id="stuffcont_cangkuassets1" style="overflow-y: auto; overflow-x: hidden; width: 100%; height: 100%; cursor: auto;">
									<table border="0" cellspacing="0" cellpadding="4" width="100%" class="dashedtable" style="line-height:24px;">
										@*<tr style=''>
												<td align="left" nowrap class="tdicon" colspan="2">
													暂无相关公告信息
												</td>
											</tr>*@
										<tr style=''>
											<td align="left" nowrap class="tdicon" colspan="2" style="color: #cc0000;">
												@*如果不能打印，点击下载、安装打印控件后刷新网页重试。（<a href='http://192.168.2.8:885/CLodop_Setup_for_Win32NT_3.093.exe' target="_blank">32位系统</a>|<a href='http://192.168.2.8:885/CLodop_Setup_for_Win64NT_4.096.exe' target="_blank">64位系统</a>）*@
												如果不能打印，点击下载、安装打印控件后刷新网页重试。（<a href='https://cdn.sqcdrj.com/CLodop_Setup_for_Win32NT_3.093.exe' target="_blank" style="">32位系统</a>|<a href='https://cdn.sqcdrj.com/CLodop_Setup_for_Win64NT_4.096.exe' target="_blank" style="">64位系统</a>）
											</td>
										</tr>
										<tr style=''>
											<td align="left" nowrap class="tdicon" colspan="2" style="color: #cc0000;">
												安装打印控件后如果还不能打印，请检查右下角打印控件图标，看看是否正常。
											</td>
										</tr>
									</table>
								</div>
							</td>
						</tr>
					</table>
				</div>
				@*公告信息结束*@
				@*待办信息开始*@
				<div class="portlet stuffsortab-div col12">
					<table class="small" style="padding-right: 0px; padding-left: 0px; padding-top: 0px;">
						<tr id="headerrow_cangkuassets1" class="home-stuff-heading">
							<td align="right" style="height: 57px; background: #fff url('@(Url.Content("~/img/icon_todo2.jpg"))') no-repeat left center;" nowrap>
								<a href='' class="more">更多<span>></span></a>
							</td>
						</tr>
					</table>
					<table cellpadding="0" cellspacing="0" class="small portlet_content" style="width: 100%;">
						<tr>
							<td>
								<div style="overflow-y: auto; overflow-x: hidden; width: 100%; height: 100%; cursor: auto;">
									<table border="0" cellspacing="0" cellpadding="4" width="100%" class="dashedtable" style="line-height:24px;">
										<tr style=''>
											<td align="left" nowrap class="tdicon" colspan="2">
												暂无相关待办信息
											</td>
										</tr>
									</table>
								</div>
							</td>
						</tr>
					</table>
				</div>
				@*待办信息结束*@
				@*预警信息开始*@
				<div class="portlet stuffsortab-div col24">
					<table class="small" style="padding-right: 0px; padding-left: 0px; padding-top: 0px;">
						<tr id="headerrow_cangkuassets1" class="home-stuff-heading">
							<td align="right" style="height: 57px; background: #fff url('@(Url.Content("~/img/icon_alert.jpg"))') no-repeat left center;" nowrap>
								<a href='' class="more">更多<span>></span></a>
							</td>
						</tr>
					</table>
					<table cellpadding="0" cellspacing="0" class="small portlet_content" style="width: 100%;">
						<tr>
							<td>
								<div style="overflow-y: auto; overflow-x: hidden; width: 100%; height: 100%; cursor: auto;">
									<table border="0" cellspacing="0" cellpadding="4" width="100%" class="dashedtable" style="line-height:24px;">
										<tr style=''>
											<td align="left" nowrap class="tdicon" colspan="2">
												暂无相关预警信息
											</td>
										</tr>
									</table>
								</div>
							</td>
						</tr>
					</table>
				</div>
				@*预警信息结束*@
			</div>
		</td>
	</tr>
</table>

@section footer{
	<script type="text/javascript">
		var pageData = {
			hideBreadcrumb: true,
			serviceCode: '@(ViewBag.ServiceCode)',
			global: globalData,
		};

		var pageApp = new Vue({
			el: '#app',
			data: pageData,
			created: function () {
			},
			methods: {
			},
			computed: {
				currentM: function () {
					var currentM = null;
					var i;
					var j;
					for (i = 0; i < this.global.modules.length; i++) {
						for (j = 0; j < this.global.modules[i].Services.length; j++) {
							if (this.serviceCode == this.global.modules[i].Services[j].Code) {
								currentM = this.global.modules[i];
								break;
							}
						}
					}
					return currentM;
				},
				currentS: function () {
					var currentS = null;
					var i;
					var j;
					for (i = 0; i < this.global.modules.length; i++) {
						for (j = 0; j < this.global.modules[i].Services.length; j++) {
							if (this.serviceCode == this.global.modules[i].Services[j].Code) {
								currentS = this.global.modules[i].Services[j];
								break;
							}
						}
					}
					return currentS;
				}
			}
		});
				$(function () {
					if(isMobile())
					{
							window.location.href = '@(Url.Action("MobileIndex", "Home"))';
					}
				});

				function isMobile() {
				  const regExp = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
				  return regExp.test(navigator.userAgent);
				}
	</script>
}